package com.example.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;

@Getter
@Data
public class User {

    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "姓名")
    private String name;
    

    @ApiModelProperty(value = "登陆账号")
    private String account;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "性别")
    private String gender;
    
    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "是否管理员")
    private Integer isadmin;


	/**
	 * @return id
	 */
	public Integer getId() {
		return id;
	}


	/**
	 * @param id 要设置的 id
	 */
	public void setId(Integer id) {
		this.id = id;
	}


	/**
	 * @return name
	 */
	public String getName() {
		return name;
	}


	/**
	 * @param name 要设置的 name
	 */
	public void setName(String name) {
		this.name = name;
	}


	/**
	 * @return account
	 */
	public String getAccount() {
		return account;
	}


	/**
	 * @param account 要设置的 account
	 */
	public void setAccount(String account) {
		this.account = account;
	}


	/**
	 * @return age
	 */
	public Integer getAge() {
		return age;
	}


	/**
	 * @param age 要设置的 age
	 */
	public void setAge(Integer age) {
		this.age = age;
	}


	/**
	 * @return gender
	 */
	public String getGender() {
		return gender;
	}


	/**
	 * @param gender 要设置的 gender
	 */
	public void setGender(String gender) {
		this.gender = gender;
	}


	/**
	 * @return password
	 */
	public String getPassword() {
		return password;
	}


	/**
	 * @param password 要设置的 password
	 */
	public void setPassword(String password) {
		this.password = password;
	}


	/**
	 * @return isadmin
	 */
	public Integer getIsadmin() {
		return isadmin;
	}


	/**
	 * @param isadmin 要设置的 isadmin
	 */
	public void setIsadmin(Integer isadmin) {
		this.isadmin = isadmin;
	}


	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", account=" + account + ", age=" + age + ", gender=" + gender
				+ ", password=" + password + ", isadmin=" + isadmin + "]";
	}

    
    
}
